package com.fz.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Z-C-Y on 2018-02-05.
 * ————    @Autowired
 *
 */
@Data
@Service
public class User {
    /*@Autowired写上这个就可以，实现Book类与User类的连接*/
    @Autowired
    private  Book book;

}
